<template>
	<!-- 如果当前的属性是一个非prop的Attribute, 那么该属性会默认添加到子组件的根元素上 -->
	<show-info name="why" :age="12" :height="1.88" address="广州市" class="active"></show-info>
	<show-info name="why1" :age="121" :height="11.88" show-message="1212"></show-info>
	<show-info :height="2.0"></show-info>
</template>

<script>
import ShowInfo from './components/ShowInfo.vue'
export default {
	name: 'App',
	data() {
		return {
			person: [],
		}
	},
	components: {
		ShowInfo,
	},
}
</script>

<style scoped>
.title {
	color: red;
}
</style>
